package com.fowo.api.model.listing.small.rank;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * Listing小类排名信息 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class ListingSmallRankImportPo {

  /** 所属Listing */
  @ExcelProperty("所属Listing")
  @Size(max = 50, message = "所属Listing长度不能超过50")
  private String listingIdFnsku;

  @ExcelIgnore
  @Schema(title = "所属Listing")
  private String listingId;

  /** 小类名称 */
  @ExcelProperty("小类名称")
  @Size(max = 50, message = "小类名称长度不能超过50")
  private String category;

  /** 小类排名 */
  @ExcelProperty("小类排名")
  @Size(max = 50, message = "小类排名长度不能超过50")
  private String rank;
}
